package cn.smvc.sys.service;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import cn.smvc.sys.entity.SysDict;


@Service
public interface SysDictService {
	
	
	public List<SysDict> findAllType() throws SQLException;
	
	public SysDict findOne(String id) throws SQLException;
	
	public int save(SysDict task) throws SQLException;
	
	public int delete(String id) throws SQLException;
	
	public int update(SysDict task) throws SQLException;
	
	/**
	 * 分页查询
	 * @param param
	 * @return
	 */
	public Map<String, Object> queryPage(Map<String, String[]> param);
}
